<script>
export default {
  name: "AegleSingleCheckbox",
  props: {
    schema: {
      type: Object,
      default: null,
    },
  },
  render() {
    if (this.schema) {
      const Comp = (
        <el-checkbox
          v-model={this.schema.value}
          style={{ ...this.schema.style }}
        ></el-checkbox>
      );
      return Comp;
    }
  },
};
</script>